﻿using System;

namespace U01_boke
{
    public class Message
    {
        public int ID { get; set; }
        public string Content { get; set; }
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 时间格式化
        /// </summary>
        public string CreateTimeFormat
        {
            get
            {
                return this.CreateTime.ToString("yyyy-MM-dd hh:mm:ss");
            }
        }
        /// <summary>
        /// 访客ID
        /// </summary>
        public int VID { get; set; }

    }
}